<!--
 *************************************************************************
 * The contents of this file are subject to the Openbravo  Public  License
 * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
 * Version 1.1  with a permitted attribution clause; you may not  use this
 * file except in compliance with the License. You  may  obtain  a copy of
 * the License at http://www.openbravo.com/legal/license.html 
 * Software distributed under the License  is  distributed  on  an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
 * License for the specific  language  governing  rights  and  limitations
 * under the License. 
 * The Original Code is Openbravo ERP. 
 * The Initial Developer of the Original Code is Openbravo SLU 
 * All portions are Copyright (C) 2001-2011 Openbravo SLU 
 * All Rights Reserved. 
 * Contributor(s):  ______________________________________.
 ************************************************************************
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>Create from Multiple Shipment</title>
  <link rel="shortcut icon" href="../../../../../web/images/favicon.ico" type="image/x-icon" />
  <link rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Openbravo_ERP_250.css" id="paramCSS"></link>
  <script language="JavaScript" type="text/javascript" id="paramDirectory">var baseDirectory = "http://yourSite/web/";</script>
  <script language="JavaScript" type="text/javascript" id="paramLanguage">  defaultLang = "en_US";</script>
  <script language="JavaScript" src="../utility/DynamicJS.js" type="text/javascript"></script>
  <script language="JavaScript" src="../../../../../web/js/default/MessageBox.js" type="text/javascript"></script>
  <script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
  <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
  <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
  <script language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></script>
  <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
  <script language="JavaScript" src="../../../../../web/js/appStatus.js" type="text/javascript"></script>
  <script language="JavaScript" src="../../../../../web/js/openbravo/core.js" type="text/javascript"></script>
  <script language="JavaScript" src="../../../../../web/js/openbravo/widget/DataGrid.js" type="text/javascript"></script>
  <script language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></script>
  <script language="JavaScript" src="../../../../../web/js/default/ValidationTextBox.js" type="text/javascript"></script>
  <script language="JavaScript" src="../../../../../web/js/calculator.js" type="text/javascript"></script>

  <script type="text/javascript">
  window.onunload = reloadOpener;
  </script>

  <script language="JavaScript" type="text/javascript">
  function closeThisPage() {
    top.close();
    return true;
  }

  function submitThisPage(strCommand) {
    if (validate(strCommand)) {
      submitCommandForm(strCommand, false, null, 'CreateFromMultiple_FS.html', '_top');
      return true;
    }
    return true;
  }
  </script>

  <script language="JavaScript" type="text/javascript">
  function displayLogic() {
    if (inputValue(document.frmMain.inphasseconduom) == 1) {
      displayLogicElement('paramUOMOrder', true);
    } else {
      displayLogicElement('paramUOMOrder', false);
    }
  }

  function markAllData(chk, bolMark)
  {
    if (bolMark==null) bolMark = false;
    if (!chk) return false;
    else if (!chk.length) {
      chk.checked = bolMark;
      loadData(chk.value, bolMark);
    } else {
      var total = chk.length;
      for (var i=0;i<total;i++) {
        chk[i].checked = bolMark;
        loadData(chk[i].value, bolMark);
      }
    }
    return true;
  }

  function loadData(value, enable) {
    if (enable == null) enable = false;
    document.frmMain.elements["inpmovementqty" + value].disabled = !enable;
    document.frmMain.elements["inpquantityorder" + value].disabled = !enable;
    return true;
  }

  function validate(action) {
    var frm=document.frmMain;
    return true;
  }

  function onloadFunctions() {
    keyArray[keyArray.length] = new keyArrayItem("ENTER", "openSearch(null, null, '../info/BusinessPartner.html', 'SELECTOR_BUSINESS', false, 'frmMain', 'inpcBpartnerId', 'inpcBpartnerId_DES', document.frmMain.inpcBpartnerId_DES.value, 'Command', 'KEY');", "inpcBpartnerId_DES", "null"); 
    keyArray[keyArray.length] = new keyArrayItem("ENTER", "openSearch(null, null, '../info/ProductComplete.html', 'SELECTOR_PRODUCT', false, 'frmMain', 'inpmProductId', 'inpmProductId_DES', document.frmMain.inpmProductId_DES.value, 'Command', 'KEY');", "inpmProductId_DES", "null");
  }
  </script>
  <script language="JavaScript" type="text/javascript">
  function onLoadDo(){
    this.windowTables = new Array(
      new windowTableId('client_top', null, 'buttonSearch'),
      new windowTableId('client_middle', null, 'buttonOK')
    );
    setWindowTableParentElement();
    enableShortcuts('popup');
    setBrowserAutoComplete(false);

    try {
      onloadFunctions();
    } catch (e) {}

    resizeAreaCreateFrom();
    setWindowElementFocus('firstElement');
  }

  function onResizeDo(){
    resizeAreaCreateFrom();
  }
  </script>
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"  onload="onLoadDo();" onresize="onResizeDo();" >
<form id="form" method="post" action="../ad_actionButton/CreateFromMultiple_F1.html" name="frmMain">
  <input type="hidden" name="Command"/>
  <input type="hidden" name="inpLastFieldChanged"/>
  <input type="hidden" name="inphasseconduom" value="0"/>
  <input type="hidden" name="inpmInoutId" value="" id="paramKey"/>
  <input type="hidden" name="inpWindowId" value="" id="paramWindowId"/> 
  <input type="hidden" name="inpTabId" value="" id="paramTabId"/>
  <input type="hidden" name="inpissotrx" value="" id="paramisSOTrx"/>

  <div class="Popup_ContentPane_CircleLogo">
    <div class="Popup_WindowLogo">
      <img class="Popup_WindowLogo_Icon Popup_WindowLogo_Icon_process" src="../../../../../web/images/blank.gif" border="0"/>
    </div>
  </div>

  <table cellspacing="0" cellpadding="0" width="100%" id="table_header">
    <tr>
      <td>
        <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_NavBar">
          <tr class="Popup_NavBar_bg"><td></td>
            <td class="Popup_NavBar_separator_cell"></td>
            <td class="Popup_NavBar_bg_logo_left"></td>
            <td class="Popup_NavBar_bg_logo" width="1" onclick="openNewBrowser('http://www.openbravo.com', 'Openbravo');return false;"><img src="../../../../../web/images/blank.gif" alt="Openbravo" title="Openbravo" border="0" id="openbravoLogo" class="Popup_NavBar_logo" /></td>
            <td class="Popup_NavBar_bg_logo_right"></td>
            <td class="Popup_NavBar_Popup_title_cell"><span>Create from Multiple Shipment</span></td>
            <td class="Popup_NavBar_separator_cell"></td>
          </tr>
        </table>
      </td>
    </tr>

    <tr>
      <td>
        <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_SeparatorBar">
          <tr>
            <td class="Popup_SeparatorBar_bg"></td>
          </tr>
        </table>
      </td>
    </tr>

  </table>

  <table cellpadding="0" cellspacing="0" id="messageBoxID" class="MessageBoxHIDDEN">
  <tbody>
  <tr class="MessageBox_TopMargin">
    <td class="MessageBox_LeftMargin"></td>

    <td></td>
    <td class="MessageBox_RightMargin"></td>
  </tr>
  <tr>
    <td class="MessageBox_LeftMargin"></td>
    <td>

      <table cellpadding="0" cellspacing="0" class="MessageBox_Container">
        <tbody>

        <tr>
          <td class="MessageBox_LeftTrans">
            <table style="width: 100%; height: 100%" cellpadding="0" cellspacing="0">
              <tbody>
              <tr>
                <td class="MessageBox_TopLeft"></td>
              </tr>
              <tr>
                <td class="MessageBox_Left"></td>
              </tr>
              </tbody>
            </table>
          </td>
          <td class="MessageBox_bg">

            <table class="MessageBox_Top">
            <tbody>

              <tr>
                <td>
                  <span>
                  <table cellpadding="0" cellspacing="0" class="MessageBox_Body_ContentCell">
                    <tbody>
                    <tr>
                      <td class="MessageBox_Icon_ContentCell">
                        <div class="MessageBox_Icon"></div>
                      </td>

                      <td style="vertical-align: top;" id="messageBoxIDContent">
                        <span>
                          <div class="MessageBox_TextTitle" id="messageBoxIDTitle"></div>
                          <div class="MessageBox_TextDescription" id="messageBoxIDMessage"></div>
                          <div class="MessageBox_TextSeparator"></div>
                        </span>
                      </td><script language="JavaScript" type="text/javascript">
function closeThisPage() {
	top.close();
	return true;
}

function submitThisPage(strCommand) {
	if (parent.frameButton.validater(strCommand)) {
		parent.frameButton.submitCommandForm(strCommand, false, null, 'CreateFromMultiple_FS.html', '_top');
		return true;
	}
	return true;
}
</script>
                    </tr>
                    </tbody>

                  </table>
                  </span>
                </td>
              </tr>
              </tbody>
            </table>

          </td>
          <td class="MessageBox_RightTrans">
            <table style="width: 100%; height: 100%" cellpadding="0" cellspacing="0">
              <tbody>
              <tr>
                <td class="MessageBox_TopRight"></td>
              </tr>
              <tr>
                <td class="MessageBox_Right"></td>
              </tr>
              </tbody>
            </table>
          </td>
        </tr>
        <tr>
          <td rowspan="2" class="MessageBox_BottomLeft">
          </td>
          <td class="MessageBox_BottomTrans MessageBox_bg">
          </td>

          <td rowspan="2" class="MessageBox_BottomRight">
          </td>
        </tr>
        <tr>
          <td class="MessageBox_Bottom">
          </td>
        </tr>
        </tbody>
      </table>

    </td>
    <td class="MessageBox_RightMargin"></td>
  </tr>
  <tr class="MessageBox_BottomMargin">
    <td class="MessageBox_LeftMargin"></td>
    <td></td>
    <td class="MessageBox_RightMargin"></td>
  </tr>

  </tbody>
  </table>

  <table cellspacing="0" cellpadding="0" width="100%">
    <tr>
      <td>
        <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client_top">
          <table cellspacing="0" cellpadding="0" class="Popup_Client_TableSelector">

            <tr>
              <td class="TableEdition_OneCell_width"></td>
              <td class="TableEdition_OneCell_width"></td>
              <td class="TableEdition_OneCell_width"></td>
              <td class="TableEdition_OneCell_width"></td>
              <td class="TableEdition_OneCell_width"></td>
              <td class="TableEdition_OneCell_width"></td>
            </tr>

            <tr>
              <td colspan="6">
                <table class="FieldGroup" cellspacing="0" cellpadding="0" border="0">
                  <tr class="FieldGroup_TopMargin"></tr>
                  <tr>
                    <td class="FieldGroupTitle_Left"><img class="FieldGroupTitle_Left_bg" border="0" src="../../../../../web/images/blank.gif"/></td>
                    <td class="FieldGroupTitle">Primary Filters</td>
                    <td class="FieldGroupTitle_Right"><img class="FieldGroupTitle_Right_bg" border="0" src="../../../../../web/images/blank.gif"/></td>
                    <td class="FieldGroupContent"></td>
                  </tr>
                  <tr class="FieldGroup_BottomMargin"></tr>
                </table>
              </td>
            </tr>

            <tr> 
              <td class="TitleCell"><span class="LabelText">Business Partner</span></td>
              <td class="TextBox_btn_ContentCell" colspan="2">
                <table border="0" cellspacing="0" cellpadding="0" summary="" style="padding-top: 0px;">
                  <tr>
                    <td class="TextBox_ContentCell">
                      <input type="hidden" name="inpcBpartnerId" id="fieldBPartnerID" value=""/>
                      <input class="dojoValidateValid TextBox_btn_TwoCells_width" type="text" name="inpcBpartnerId_DES" id="fieldBPartnerID_DES" maxlength="20" value=""/>
                    </td>
                    <td class="FieldButton_ContentCell">
                      <a class="FieldButtonLink" href="#"
                        onfocus="setWindowElementFocus(this); window.status='Business Partner'; return true;"
                        onblur="window.status=''; return true;"
                        onkeypress="this.className='FieldButtonLink_active'; return true;"
                        onkeyup="this.className='FieldButtonLink_focus'; return true;"
                        onclick="openSearch(null, null, '../info/BusinessPartner.html', 'SELECTOR_BUSINESS', false, 'frmMain', 'inpcBpartnerId', 'inpcBpartnerId_DES', document.frmMain.inpcBpartnerId_DES.value);return false;">
                        <table class="FieldButton"
                          onmousedown="this.className='FieldButton_active'; return true;"
                          onmouseup="this.className='FieldButton'; return true;"
                          onmouseover="this.className='FieldButton_hover'; window.status='Business Partner'; return true;"
                          onmouseout="this.className='FieldButton'; window.status=''; return true;">
                          <tr>
                            <td class="FieldButton_bg">
                              <img id="buttonBusinessPartner" alt="Business Partner" class="FieldButton_Icon FieldButton_Icon_BusinessPartner" title="Business Partner" src="../../../../../web/images/blank.gif" border="0"/>
                            </td>
                          </tr>
                        </table>
                      </a>
                    </td>
                  </tr>
                </table>
              </td>

              <td class="TitleCell"><span class="LabelText">Product</span></td>
              <td class="TextBox_btn_ContentCell" colspan="2">

                <table border="0" cellspacing="0" cellpadding="0" summary="" style="padding-top: 0px;">
                  <tr>
                    <td class="TextBox_ContentCell">
                      <input class="dojoValidateValid TextBox_btn_TwoCells_width" type="text" name="inpmProductId_DES" id="fieldProductID_DES" maxlength="20" value=""/>
                      <input type="hidden" name="inpmProductId" value="" id="fieldProductID"/>
                    </td>
                    <td class="FieldButton_ContentCell">
                      <a class="FieldButtonLink" href="#"
                        onfocus="setWindowElementFocus(this); window.status='Product'; return true;"
                        onblur="window.status=''; return true;"
                        onkeypress="this.className='FieldButtonLink_active'; return true;"
                        onkeyup="this.className='FieldButtonLink_focus'; return true;"
                        onclick="openSearch(null, null, '../info/Product.html', 'SELECTOR_PRODUCT', false, 'frmMain', 'inpmProductId', 'inpmProductId_DES', document.frmMain.inpmProductId_DES.value);return false;">
                        <table class="FieldButton"
                          onmousedown="this.className='FieldButton_active'; return true;"
                          onmouseup="this.className='FieldButton'; return true;"
                          onmouseover="this.className='FieldButton_hover'; window.status='Product'; return true;"
                          onmouseout="this.className='FieldButton'; window.status=''; return true;">
                          <tr>
                            <td class="FieldButton_bg">
                              <img alt="Product" class="FieldButton_Icon FieldButton_Icon_Product" title="Product" src="../../../../../web/images/blank.gif" border="0"/>
                            </td>
                          </tr>
                        </table>
                      </a>
                    </td>
                  </tr>
                </table>
              </td>
	        </tr>

            <tr> 
              <td class="TitleCell"><span class="LabelText">Warehouse</span></td>
              <td class="Combo_ContentCell" colspan="5">
                <select class="Combo Combo_OneCell_width" name="inpmWarehouseId"  id="inpmWarehouseId">
    			  <option value=""></option>
    			  <div id="reportM_WAREHOUSE_ID" />
                </select>
              </td>
	        </tr>
	        <tr>
		      <td class="TitleCell" id="fieldx_lbl_td"><span class="LabelText" id="fieldx_lbl">Corridor</span></td>
		      <td class="TextBox_btn_ContentCell" id="fieldx_inp_td">
		        <div id="editDiscard">
		          <div id="fieldx_inp">
		            <table border="0" cellpadding="0" cellspacing="0">
		              <tr>
                        <td class="TextBox_ContentCell">
                          <table style="border:0px;border-collapse:collapse;">
		                    <tr>
		                      <td style="padding-top: 0px;">
		                        <input type="text" id="fieldx" class="dojoValidateValid TextBox_OneCell_width" required="false" value="" size="5" maxlength="10" name="inpx" onkeyup="" onkeypress="changeToEditingMode();" onchange="validateTextBox(this.id);logChanges(this);return true;"/>
		                      </td>
		                    </tr>
		                  </table>

				          <span class="TextBox_MsgContainer_span" style="display: none;" id="fieldxinvalidSpan">
		                    <table class="TextBox_MsgContainer_table">
		                      <tr class="TextBox_MsgContainer_tr">
		                        <td class="TextBox_MsgContainer_td"><div class="TextBox_MsgContainer_div"></div></td><td></td>
		                      </tr>
		                      <tr>
		                        <td colspan="2" class="invalid"><div class="TextBox_MsgContainer_div2" id="fieldxinvalidSpanText">* The value entered is not valid.</div></td>
		                      </tr>
		                    </table>
		                  </span>

  		                  <span class="TextBox_MsgContainer_span" style="display: none;" id="fieldxmissingSpan">
		                    <table class="TextBox_MsgContainer_table">
		                      <tr class="TextBox_MsgContainer_tr">
		                        <td class="TextBox_MsgContainer_td"><div class="TextBox_MsgContainer_div"></div></td><td></td>
		                      </tr>
		                      <tr>
		                        <td colspan="2" class="missing"><div class="TextBox_MsgContainer_div2" id="fieldxmissingSpanText">* This value is required.</div></td>
		                      </tr>
		                    </table>
		                  </span>

                          <span class="TextBox_MsgContainer_span" style="display: none;" id="fieldxrangeSpan">
		                    <table class="TextBox_MsgContainer_table">
		                      <tr class="TextBox_MsgContainer_tr">
		                        <td class="TextBox_MsgContainer_td"><div class="TextBox_MsgContainer_div"></div></td><td></td>
		                      </tr>
		                      <tr>
		                        <td colspan="2" class="range"><div class="TextBox_MsgContainer_div2" id="fieldxrangeSpanText">* This value is out of range.</div></td>
		                      </tr>
		                    </table>
		                  </span>

                        </td>
                      </tr>
                    </table>
                  </div>
                </div>
              </td>



              <td class="TitleCell" id="fieldy_lbl_td"><span class="LabelText" id="fieldy_lbl">Height</span></td>
              <td class="TextBox_btn_ContentCell" id="fieldy_inp_td"><div id="editDiscard">
                <div id="fieldy_inp">
                  <table border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td class="TextBox_ContentCell">

                        <table style="border:0px;border-collapse:collapse;">
                          <tr>
                            <td style="padding-top: 0px;">
                              <input type="text" id="fieldy" class="dojoValidateValid TextBox_OneCell_width" required="false" value="" size="5" maxlength="10" name="inpy" onkeyup="" onkeypress="changeToEditingMode();" onchange="validateTextBox(this.id);logChanges(this);return true;"/>
                            </td>
                          </tr>
                        </table>

                        <span class="TextBox_MsgContainer_span" style="display: none;" id="fieldyinvalidSpan">
                          <table class="TextBox_MsgContainer_table">
                            <tr class="TextBox_MsgContainer_tr">
                              <td class="TextBox_MsgContainer_td"><div class="TextBox_MsgContainer_div"></div></td><td></td>
                            </tr>
                            <tr>
                              <td colspan="2" class="invalid"><div class="TextBox_MsgContainer_div2" id="fieldyinvalidSpanText">* The value entered is not valid.</div></td>
                            </tr>
                          </table>
                        </span>

                        <span class="TextBox_MsgContainer_span" style="display: none;" id="fieldymissingSpan">
                          <table class="TextBox_MsgContainer_table">
                            <tr class="TextBox_MsgContainer_tr">
                              <td class="TextBox_MsgContainer_td"><div class="TextBox_MsgContainer_div"></div></td><td></td>
                            </tr>
                            <tr>
                              <td colspan="2" class="missing"><div class="TextBox_MsgContainer_div2" id="fieldymissingSpanText">* This value is required.</div></td>
                            </tr>
                          </table>
                        </span>

                        <span class="TextBox_MsgContainer_span" style="display: none;" id="fieldyrangeSpan">
                          <table class="TextBox_MsgContainer_table">
                            <tr class="TextBox_MsgContainer_tr">
                              <td class="TextBox_MsgContainer_td"><div class="TextBox_MsgContainer_div"></div></td><td></td>
                            </tr>
                            <tr>
                              <td colspan="2" class="range"><div class="TextBox_MsgContainer_div2" id="fieldyrangeSpanText">* This value is out of range.</div></td>
                            </tr>
                          </table>
                        </span>

                      </td>
                    </tr>
                  </table>
                </div>
		        </div>
		      </td>

              <td class="TitleCell" id="fieldz_lbl_td"><span class="LabelText" id="fieldz_lbl">Location</span></td>
              <td class="TextBox_btn_ContentCell" id="fieldy_inp_td"><div id="editDiscard">
                <div id="fieldy_inp">
                  <table border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td class="TextBox_ContentCell">

		                <table style="border:0px;border-collapse:collapse;">
                          <tr>
                            <td style="padding-top: 0px;">
                              <input type="text" id="fieldz" class="dojoValidateValid TextBox_OneCell_width" required="false" value="" size="5" maxlength="10" name="inpz" onkeyup="" onkeypress="changeToEditingMode();" onchange="validateTextBox(this.id);logChanges(this);return true;"/>
                            </td>
                          </tr>
                        </table>

                        <span class="TextBox_MsgContainer_span" style="display: none;" id="fieldzinvalidSpan">
                          <table class="TextBox_MsgContainer_table">
                            <tr class="TextBox_MsgContainer_tr">
                              <td class="TextBox_MsgContainer_td"><div class="TextBox_MsgContainer_div"></div></td><td></td>
                            </tr>
                            <tr>
                              <td colspan="2" class="invalid"><div class="TextBox_MsgContainer_div2" id="fieldzinvalidSpanText">* The value entered is not valid.</div></td>
                            </tr>
                          </table>
                        </span>

                        <span class="TextBox_MsgContainer_span" style="display: none;" id="fieldzmissingSpan">
                          <table class="TextBox_MsgContainer_table">
                            <tr class="TextBox_MsgContainer_tr">
                              <td class="TextBox_MsgContainer_td"><div class="TextBox_MsgContainer_div"></div></td><td></td>
                            </tr>
                            <tr>
                              <td colspan="2" class="missing"><div class="TextBox_MsgContainer_div2" id="fieldzmissingSpanText">* This value is required.</div></td>
                            </tr>
                          </table>
                        </span>

                        <span class="TextBox_MsgContainer_span" style="display: none;" id="fieldzrangeSpan">
                          <table class="TextBox_MsgContainer_table">
                            <tr class="TextBox_MsgContainer_tr">
                              <td class="TextBox_MsgContainer_td"><div class="TextBox_MsgContainer_div"></div></td><td></td>
                            </tr>
                            <tr>
                              <td colspan="2" class="range"><div class="TextBox_MsgContainer_div2" id="fieldzrangeSpanText">* This value is out of range.</div></td>
                            </tr>
                          </table>
                        </span>

                      </td>
                    </tr>
                  </table>
                </div>
                </div>
              </td>
            </tr>

            <tr>
              <td></td>
              <td class="Button_LeftAlign_ContentCell">
                <div>
                  <button type="button" 
                    id="buttonSearch" 
                    class="ButtonLink" 
                    onclick="removeOnUnload();submitCommandForm('FIND', true);return false;" 
                    onfocus="buttonEvent('onfocus', this); window.status='Search'; return true;" 
                    onblur="buttonEvent('onblur', this);" 
                    onkeyup="buttonEvent('onkeyup', this);" 
                    onkeydown="buttonEvent('onkeydown', this);" 
                    onkeypress="buttonEvent('onkeypress', this);" 
                    onmouseup="buttonEvent('onmouseup', this);" 
                    onmousedown="buttonEvent('onmousedown', this);" 
                    onmouseover="buttonEvent('onmouseover', this); window.status='Search'; return true;" 
                    onmouseout="buttonEvent('onmouseout', this);">
                    <table class="Button">
                      <tr>
                        <td class="Button_left"><img class="Button_Icon Button_Icon_search" alt="Search" title="Search" src="../../../../../web/images/blank.gif" border="0" /></td>
                        <td class="Button_text Button_width">Search</td>
                        <td class="Button_right"></td>
                      </tr>
                    </table>
                  </button>
                </div>
              </td>
              <td></td>
              <td></td>
              <td></td>
              <td></td>
            </tr>
        </table>
      </div>
    </td>
  </tr>
    <tr>
      <td>
        <div class="Popup_ContentPane_Client" style="overflow: auto; display: none" id="client_middle">
          <table cellspacing="0" cellpadding="0" width="100%" class="DataGrid_Header_Table DataGrid_Body_Table" style="table-layout: auto;"  >
            <tr class="DataGrid_Body_Row"> 
              <th class="DataGrid_Header_LineNoCell DataGrid_Body_Cell_CheckBox" width="2%" > <span class="Checkbox_container_NOT_Focused"><input type="checkbox" name="inpTodos" onclick="markAllData(document.frmMain.inpmStorageDetailId, this.checked);return true;"/></span>
              </th>
              <th class="DataGrid_Header_Cell" width="35%">Product</th>
              <th class="DataGrid_Header_Cell" width="5%">Locator</th>
              <th class="DataGrid_Header_Cell" width="19%">Attribute</th>
              <th class="DataGrid_Header_Cell" width="12%">Quantity</th>
              <th class="DataGrid_Header_Cell" width="8%">Unit</th>
              <th class="DataGrid_Header_Cell" width="11%">Quant. of order</th>
              <th class="DataGrid_Header_Cell" width="8%">Order No.</th>
            </tr>
            <div id="sectionDetail"> 
              <tr id="funcEvenOddRowxx" class="DataGrid_Body_Row DataGrid_Body_Row_yy"> 
                <td class="DataGrid_Header_LineNoCell DataGrid_Body_Cell_CheckBox"> <span class="Checkbox_container_NOT_Focused"><input type="checkbox" name="inpmStorageDetailId" value="" id="fieldmStorageDetailId" onclick="loadData(this.value, this.checked);return true;"/></span></td>
                <td class="DataGrid_Body_Cell" id="fieldProduct">xx</td>
                <td class="DataGrid_Body_Cell" id="fieldLocator">xx</td>
                <td class="DataGrid_Body_Cell" id="fieldAttribute">xx</td>
                <td class="DataGrid_Body_Cell"> <input name="inpmovementqtyxx" type="text" id="fieldMovementQty" size="8" value="0" outputformat="qtyEdition" onfocus="numberInputEvent('onfocus', this);" onblur="numberInputEvent('onblur', this);" onkeydown="numberInputEvent('onkeydown', this, event);" onchange="numberInputEvent('onchange', this);" disabled="" /></td>
                <td class="DataGrid_Body_Cell" id="fieldUOM">xx</td>
                <td class="DataGrid_Body_Cell"> <input name="inpquantityorderxx" type="text" id="fieldQuantityOrder" size="8" value="0" outputformat="qtyEdition" onfocus="numberInputEvent('onfocus', this);" onblur="numberInputEvent('onblur', this);" onkeydown="numberInputEvent('onkeydown', this, event);" onchange="numberInputEvent('onchange', this);" disabled="" /></td>
                <td class="DataGrid_Body_Cell" id="fieldProductUOM">xx</td>
              </tr>
            </div>
          </table>
        </div>
      </td>
    </tr>
  <tr>
      <td>
        <div class="Popup_ContentPane_Client" style="overflow: auto; padding-bottom: 5px;" id="client_bottom">
          <table cellspacing="0" cellpadding="0" class="Popup_Client_TableSelector">

            <tr>
              <td class="TableEdition_OneCell_width"></td>
              <td class="TableEdition_OneCell_width"></td>
              <td class="TableEdition_OneCell_width"></td>
              <td class="TableEdition_OneCell_width"></td>
              <td class="TableEdition_OneCell_width"></td>
              <td class="TableEdition_OneCell_width"></td>
            </tr>
            <tr>
              <td></td>
              <td></td>
              <td class="Button_RightAlign_ContentCell">
                <div>
                  <button type="button" 
                    id="buttonOK" 
                    class="ButtonLink" 
                    onclick="submitThisPage('SAVE');return false;" 
                    onfocus="buttonEvent('onfocus', this); window.status='Accept'; return true;" 
                    onblur="buttonEvent('onblur', this);" 
                    onkeyup="buttonEvent('onkeyup', this);" 
                    onkeydown="buttonEvent('onkeydown', this);" 
                    onkeypress="buttonEvent('onkeypress', this);" 
                    onmouseup="buttonEvent('onmouseup', this);" 
                    onmousedown="buttonEvent('onmousedown', this);" 
                    onmouseover="buttonEvent('onmouseover', this); window.status='Accept'; return true;" 
                    onmouseout="buttonEvent('onmouseout', this);">
                    <table class="Button">
                      <tr>
                        <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="Accept" title="Accept" src="../../../../../web/images/blank.gif" border="0" /></td>
                        <td class="Button_text Button_width">OK</td>
                        <td class="Button_right"></td>
                      </tr>
                    </table>
                  </button>
                </div>
              </td>
              <td class="Button_LeftAlign_ContentCell">
                <div>
                  <button type="button" 
                    id="buttonCancel" 
                    class="ButtonLink" 
                    onclick="closeThisPage();return false;" 
                    onfocus="buttonEvent('onfocus', this); window.status='Cancel'; return true;" 
                    onblur="buttonEvent('onblur', this);" 
                    onkeyup="buttonEvent('onkeyup', this);" 
                    onkeydown="buttonEvent('onkeydown', this);" 
                    onkeypress="buttonEvent('onkeypress', this);" 
                    onmouseup="buttonEvent('onmouseup', this);" 
                    onmousedown="buttonEvent('onmousedown', this);" 
                    onmouseover="buttonEvent('onmouseover', this); window.status='Cancel'; return true;" 
                    onmouseout="buttonEvent('onmouseout', this);">
                    <table class="Button">
                      <tr>
                        <td class="Button_left"><img class="Button_Icon Button_Icon_cancel" alt="Cancel" title="Cancel" src="../../../../../web/images/blank.gif" border="0" /></td>
                        <td class="Button_text Button_width">Cancel</td>
                        <td class="Button_right"></td>
                      </tr>
                    </table>
                  </button>
                </div>
              </td>
              <td></td>
              <td></td>
            </tr>
          </table>
        </div>
      </td>
    </tr> 
  </table>

</form>
</body>
</html>
